package com.xbongbong.pro.statistic.service;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.statistic.result.pojo.vo.ChartResultVO;
import com.xbongbong.pro.statistic.through.pojo.dto.ResultThroughDTO;
import com.xbongbong.pro.statistic.through.pojo.vo.IndexThroughDTO;

/**
 * 自定义指标、图表
 * @author xinpeng.jiang
 * @date 2021/5/14 10:13
 * @version 1.0
 * @since V1.0
 */
public interface ChartCustomService {

    /**
     * 自定义pk web端穿透
     * @param resultThroughDTO
     * @return com.xbongbong.pro.statistic.through.pojo.vo.IndexThroughDTO
     * @throws XbbException
     * @author xinpeng.jiang
     * @date 2021/5/12 15:04
     * @version 1.0
     */
    IndexThroughDTO customPkResultThrough(ResultThroughDTO resultThroughDTO) throws XbbException;

    /**
     * 自定义pk 移动端穿透
     * @param resultThroughDTO
     * @return com.xbongbong.pro.statistic.result.pojo.vo.ChartResultVO
     * @throws XbbException
     * @author xinpeng.jiang
     * @date 2021/5/31 9:41
     * @version 1.0
     */
    ChartResultVO customPkMobileResultThrough(ResultThroughDTO resultThroughDTO) throws XbbException;

}
